package Java.j1;

import java.util.Scanner;

public class AcWing_618 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int T = sc.nextInt();
        int S = sc.nextInt();
        System.out.printf("%.3f",(double)T * S/12);
    }
}
